@font-gray: #999;
@font-deep-gray: #666;
@base-bg: #f4f4f4;
@black: #000;
@white: #fff;
@border-light-color: #F0F0F0;
.loading:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  animation: ellipsis 2s infinite;
  content: "\2026"; /* ascii code for the ellipsis character */
}
@keyframes ellipsis {
  from {
    width: 2px;
  }
  to {
    width: 15px;
  }
}
.entrance {
  position: relative;
  background: @base-bg;
  &.white-bg {
    background: @white !important;
  }
  .loading-animate {
    position: absolute;
    top: 150px;
    //bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 87px;
    height: 129px;
    img {
      width: 87px;
      height: 129px;
    }
    span {
      display: block;
      width: 117px;
      color: @font-gray;
    }
  }
  .no-market, .stop-sales {
    position: absolute;
    z-index: 999;
    width: 100%;
    //height: 750px;
    background: @base-bg !important;
    div {
      position: absolute;
      width: 200px;
      margin: auto;
      left: 0;
      right: 0;
      top: 60px;
      img {
        display: block;
        width: 200px;
        height: 200px;
        //padding: 13px;
      }
    }
    span {
      position: absolute;
      top: 275px;
      display: block;
      width: 100%;
      font-size: 16px;
      text-align: center;
      color: @font-deep-gray;
    }
  }
}
.col {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: block;
  width: 100%;
}
button:active {
  box-shadow: inset 0 1px 4px rgba(0,0,0,.1);
  opacity: .9;
}
.button {
  width: 100%;
  height: 41px;
  padding: 0;
  margin: 0;
  border-width: 0;
  text-align: center;
  color: @white;
  font-size: 18px;
  border-radius: 4px;
  box-sizing: border-box;
  &[disabled] {
    background-color: @border-light-color !important;
  }
  &.warn {
    background-color: #E95503;
  }
  .active {
    outline: none;
    background-color: #E95503 !important;
    box-shadow: inset 0 1px 4px rgba(0,0,0,.1);
  }
}
/* 弹出框样式 start */
.modal-mask {
  position: fixed;
  z-index: 21;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  display: table;
  transition: opacity .3s ease;
  box-sizing: border-box;
  .modal-container {

    //text-align: center;
    //font-size: 17px;
    //color: @black;
    //background-color: @white;
    border-radius: 8px;

    position: fixed;
    z-index: 5000;
    width: 80%;
    max-width: 300px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    text-align: center;
    overflow: hidden;
    .modal-content {
      padding: 25px 15px;
      text-align: -webkit-center;
      color: @white;
      box-sizing: border-box;
    }
  }
  &.tips {
    background-color: transparent;
  }
}
.alert .modal-container {
  .modal-content {
    color: #030303;
  }
  .btn-list {
    width: 100%;
    border-top: 1px solid #eeefef;
    font-size: 18px;
    box-sizing: border-box;
    .cancel-btn {
      color: #198cfa !important;
      border-right: 1px solid #eeefef;
    }
  }
  .button {
    height: 42px;
    color: #198cfa;
    background-color: transparent;
  }

}

.tips .modal-container {
  top: 280px;
  color: @white;
  background-color: @black;
  opacity: .7;
  .modal-content {
    padding: 13px 15px;
  }
}
